//--------------------------------------------------------------------------------------------------------------
// <copyright file="Errors.cs" company="Microsoft Corporation" author="David Martos" date="01/02/2008">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//--------------------------------------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Text;

using Microsoft.Win32;

namespace CSP.Core
{
    /// <summary>
    /// This class contains all the error messages used in every CSP components
    /// </summary>
    public class Errors
    {

        /// <summary>
        /// Method invoked from all Contoso modules to initialize log4net configuration
        /// </summary>
        public static void InitializeLog()
        {
            //if (!log.IsFatalEnabled)
            //{
            //    string fileName = RegistryAccess.GetStringProperty(Registry.LocalMachine, Constants.CspRegistryKey, Constants.RegPropInstallationFolder);
            //    fileName = string.Format("{0}{1}", fileName, Constants.Log4NetFile);
            //    XmlConfigurator.Configure(new System.IO.FileInfo(fileName));
            //}
        }

        public static string ERROR_Resource_label = "Error {0}";

    }
}
